package org.socialresume.client.mvp.presenter;


import org.enunes.gwt.mvp.client.presenter.Presenter;
import org.socialresume.client.model.Feed;
import org.socialresume.client.model.FeedItem;

import com.google.gwt.user.client.ui.HasValue;
import com.google.gwt.user.client.ui.Widget;

public interface FeedPresenter extends Presenter<FeedPresenter.Display> {

	public interface Display extends org.enunes.gwt.mvp.client.view.Display{
		
		public void addFeed(Widget feed);
		
		public void clear();
		
		public HasValue<Boolean> getLoadingVisibility();
		
//		public HasWidgets getFeedItemsContainer();

		public Widget getFeedItemWidget(Feed feed, FeedItem item);
	}
	
	public void setFeed(Feed feed);
}
